Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 11 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | View Code Duplication | const DB = require('../../libraries/db') |
|
12 | first: async function (id) { |
||
13 | |||
14 | let result = DB.readMysql.first( |
||
15 | '*' |
||
16 | ) |
||
17 | .from(table) |
||
18 | .where('id', id) |
||
19 | |||
20 | return await result |
||
21 | |||
22 | }, |
||
23 | |||
42 | } |